package ar.uba.dc.sistemas.monitorRW;

public class Monitor {

	public static void main(String[] args) {
		
		
	}
	
	
//	protected MonitorObject monitorObject = new MonitorObject();
//	  protected boolean isLocked = false;
//
//	  public void lock() throws InterruptedException{
//	    synchronized(this){
//	      while(isLocked){
//	        synchronized(this.monitorObject){
//	            this.monitorObject.wait();
//	        }
//	      }
//	      isLocked = true;
//	    }
//	  }
//
//	  public void unlock(){
//	    synchronized(this){
//	      this.isLocked = false;
//	      synchronized(this.monitorObject){
//	        this.monitorObject.notify();
//	      }
//	    }
//	  }
	
	
//	Links
//	http://www.javaworld.com/javaworld/jw-10-2007/jw-10-monitors.html
//	http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/package-summary.html
//	http://developers.sun.com/learning/javaoneonline/
//	http://tutorials.jenkov.com/java-concurrency/nested-monitor-lockout.html
//	http://grasia.fdi.ucm.es/jpavon/dso/programacionconcurrentejava.pdf
//	http://gee.cs.oswego.edu/dl/cpj/mechanics.html#monitors

}
